package ArrayList;

import java.util.ArrayList;
import java.util.List;

public class Solution2 {
    public static void remove(String s1, String s2) {
        List<Character> ret = new ArrayList<>();
        for (int i = 0; i < s1.length(); i++) {
            if(!s2.contains(s1.charAt(i)+"")){
                ret.add(s1.charAt(i));
            }
        }
        System.out.println(ret);
    }
}
